{% extends 'base/base.html' %}
{% block main %}
<div class="row justify-content-center">
  <div class="col-lg-8 col-xl-6">
    <div class="card p-4">
      <h1 class="h5 card-title mb-3">确认删除</h1>
      <p class="mb-3">确定要删除该文章吗？该操作不可恢复。</p>
      <form method="post" class="d-flex gap-2">
        {% csrf_token %}
        <button type="submit" class="btn btn-danger">删除</button>
        <a class="btn btn-outline-secondary" href="{% url 'main:index' %}">取消</a>
      </form>
    </div>
  </div>
</div>
{% endblock %}